ns_network_interface
Configuration for NS Network Interfaces resource.
Read/write properties
ns_ip_address<String>
NetScaler IP Address.
Minimum length = 1
Maximum length = 64
devicename<String>
Device/Interface Name.
Minimum length = 1
Maximum length = 100
id<String>
Id is system generated key.
display_name<String>
Device Display Name.
Minimum length = 1
Maximum length = 64
errifindiscards<Double>
Number of error free incoming packets discarded.
nicerrifoutdiscards<Double>
Number of error free outgoing packets discarded.
Read only properties
poll_time<Integer>
Last Polling Time.
state<String>
State Enabled|Disabled.
partition_name<String>
Partition Name.
hostname<String>
Assign hostname to managed device, if this is not provided, name will be set as host name .
description<String>
Interface description.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/ns_network_interface
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_network_interface":[{
"ns_ip_address":<String_value>,
"devicename":<String_value>,
"id":<String_value>,
"poll_time":<Integer_value>,
"state":<String_value>,
"partition_name":<String_value>,
"hostname":<String_value>,
"display_name":<String_value>,
"errifindiscards":<Double_value>,
"nicerrifoutdiscards":<Double_value>,
"description":<String_value>}]}